package ru.ifmo.rybakov.muclumon.analysis2;

import java.util.Map;

public abstract class Combination {
	public abstract Function[] getFunctions();
	
	public double[] buildSamples(Map<String, Double> input) {
		Function[] functions = getFunctions();
		double[] samples = new double[functions.length];
		for (int i = 0; i < functions.length; i++) {
			samples[i] = functions[i].getValue(input);
		}
		return samples;
	}
}
